#include<bits/stdc++.h>
using namespace std;
int main()
{
	double h,w;
	cin>>h>>w;
	if(w/(h*h)<18) cout<<"thin";
	else if(w/(h*h)<=25) cout<<"normal";
	else if(w/(h*h)>25) cout<<"fat";
    return 0;
}

